package com.ssmeasy.jdgl.service;

import com.ssmeasy.jdgl.pojo.Room;
import com.ssmeasy.jdgl.pojo.RoomDetail;

import java.util.List;

public interface RoomService {
    void addRoom(Room room) throws Exception;

    List<Room> getRoomByStatus(int status);

    List<Room> getAllRoom();

    RoomDetail getRoomDetail(int id);

    Room getRoomById(int id);

    void deleteRoom(int id);

    void updateRoom(Room room) throws Exception;
}
